﻿@model Website.Models.Domain.User
@{
    this.ViewBag.Title = "Mine Data";
    this.Layout = "~/Views/_Shared/_Layout.cshtml";
    var error = this.ViewData["ErrorMessage"] as string;
}

<div class="error">@Html.ValidationSummary()</div>  
<div class="error">@error</div>  
<table class ="showSelf">
    <tr>
        <td>Navn:</td><td>@Model.Name</td>
    </tr>
    <tr>
        <td>Brugernavn:</td><td>@Model.Username<td></td>
    </tr>
    <tr>
        <td>E-mail:</td><td>@Model.Email</td>
    </tr>
    <tr>
        <td>Telefon Nummer:</td><td>@Model.PhoneNumber</td>
    </tr>

</table>
<div class="buttonHolder"><input type="button" onclick=" location.href = '@Url.Action("EditSelf")'; " value="Redigér"/></div>